<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
<title>无标题文档</title>
<link href="/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/jquery.js"></script>
<script language="javascript">
$(function(){	
	//导航切换
	$(".imglist li").click(function(){
		$(".imglist li.selected").removeClass("selected")
		$(this).addClass("selected");
	})	
})	
</script>
<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

});
</script>
</head>


<body>


    
    <div class="rightinfo">
    
    <div class="tools">
        <form action="/article/getCheck" method="post" >请输入关键字：<input name="key" type="text" class="dfinput"  th:value="${key}"/>
        <input type="submit" value="搜索">
        </form>
        <ul class="toolbar">

            <!--   <li class="click"><span><img src="images/t02.png" /></span>修改</li>
               <li><span><img src="images/t03.png" /></span>删除</li>
               <li><span><img src="images/t04.png" /></span>统计</li>-->
        </ul>
    	<!--<ul class="toolbar">
        <li class="click"><span><img src="images/t01.png" /></span>添加</li>
        <li class="click"><span><img src="images/t02.png" /></span>修改</li>
        <li><span><img src="images/t03.png" /></span>删除</li>
        <li><span><img src="images/t04.png" /></span>统计</li>
        </ul>-->


        <!--<ul class="toolbar1">
        <li><span><img src="images/t05.png" /></span>设置</li>
        </ul>
    -->
    </div>
    
    
    <table class="imgtable">
    
    <thead>
    <tr>
    <th width="100px;">缩略图</th>
    <th>标题</th>
    <th>关键字</th>
    <th>内容</th>
    <th>创建时间</th>
    <th>作者</th>


    <th>操作</th>

    </tr>
    </thead>
    
    <tbody>
    
    <tr th:each="article:${articleList}">
    <td class="imgtd"><img src="/images/img11.png" /></td>
    <td th:text="${article.title}"></td>
    <td th:text="${article.keywords}"></td>
    <td th:text="${article.content.length()>9?article.content.substring(0,9)+'...':article.content}">...</td>
    <td th:text="${article.createtime}"></td>
    <td th:text="${map.get(article.aid).uname}"></td>

    <td>
        <a th:if="${article.astatus.equals('1')||article.astatus.equals('2')}" th:href="@{/article/toReCheck(aid=${article.aid})}">审核</a>
        <span th:if="${article.astatus.equals('4')}">已通过</span>
        <span th:if="${article.astatus.equals('5')}">已驳回</span>
    </td>

    </tr>

    
    </tbody>
    
    </table>
    
    
    
    
    
   
    <div class="pagin">
    	<div class="message">共<i class="blue">1256</i>条记录，当前显示第&nbsp;<i class="blue">2&nbsp;</i>页</div>
        <ul class="paginList">
        <li class="paginItem"><a href="javascript:;"><span class="pagepre"></span></a></li>
        <li class="paginItem"><a href="javascript:;">1</a></li>
        <li class="paginItem current"><a href="javascript:;">2</a></li>
        <li class="paginItem"><a href="javascript:;">3</a></li>
        <li class="paginItem"><a href="javascript:;">4</a></li>
        <li class="paginItem"><a href="javascript:;">5</a></li>
        <li class="paginItem more"><a href="javascript:;">...</a></li>
        <li class="paginItem"><a href="javascript:;">10</a></li>
        <li class="paginItem"><a href="javascript:;"><span class="pagenxt"></span></a></li>
        </ul>
    </div>
    
    
    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
        </div>
    
    </div>
    
    
    
    
    </div>
    
    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
        </div>
    
    </div>
    
<script type="text/javascript">
	$('.imgtable tbody tr:odd').addClass('odd');
	</script>
</body>
</html>
